@import url('style\style-index.css');

/* ===============================
   Styles spécifiques à la page Expert Comptable
   =============================== */

.main-content, .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0000FF 0%, #1e3a8a 100%);
    color: white;
    padding: 2.5rem 0 2rem 0;
    display: flex;
    align-items: center;
    min-height: 45vh;
    justify-content: center;
    gap: 2rem;
}

.hero-content {
    flex: 1.2;
    padding: 0 1.5rem;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary {
    background: #ffd700;
    color: #181818;
    padding: 0.7rem 1.3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.7rem 1.3rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: #181818;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    min-width: 250px;
}

.hero-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
    margin: 0 auto;
}

/* Section Dividers */
section:not(.hero-section):not(.cta-section) {
    border-bottom: 1px solid #e3e6ee;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
    padding: 3rem 0 2.5rem 0;
}

.services-section h2 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2.2rem;
    color: #181818;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
    justify-content: center;
}

.service-card {
    background: white;
    padding: 1.7rem 1.2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.13);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0000FF, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}

.service-icon i {
    font-size: 1.7rem;
    color: #ffd700;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    color: #181818;
}

.service-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
    max-width: 220px;
}

.service-card li {
    color: #444;
    padding: 0.22rem 0;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.98rem;
}

.service-card li:before {
    content: "✓";
    color: #0000FF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Expertise Section */
.expertise-section {
    background: white;
    padding: 3rem 0 2.5rem 0;
}

.expertise-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.expertise-text {
    flex: 1.2;
    min-width: 260px;
}

.expertise-text h2 {
    font-size: 2.1rem;
    margin-bottom: 1.1rem;
    color: #181818;
}

.expertise-text p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.expertise-stats {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0000FF;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.expertise-image {
    flex: 1;
    text-align: center;
    min-width: 220px;
}

.expertise-image img {
    max-width: 270px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.09);
    margin: 0 auto;
}

/* Process Section */
.process-section {
    background: #f8f9fa;
    padding: 3rem 0 2.5rem 0;
}

.process-section h2 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2.2rem;
    color: #181818;
}

.process-timeline {
    position: relative;
    margin: 0 auto;
    max-width: 700px;
    padding-left: 16px;
    border-left: 3px solid #0000FF;
}

.process-step {
    position: relative;
    margin-bottom: 1.7rem;
    padding-left: 24px;
}

.step-number {
    position: absolute;
    left: -48px;
    top: 0;
    background: #0000FF;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    margin-left: 10px;
}

.step-content {
    background: white;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.step-content h4 {
    margin: 0 0 0.4rem 0;
    color: #0000FF;
    font-size: 1.05rem;
}

.step-content p {
    margin: 0;
    color: #444;
    font-size: 0.97rem;
}

/* Team Section */
.team-section {
    background: white;
    padding: 3rem 0 2.5rem 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2.2rem;
    color: #181818;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    justify-content: center;
    align-items: stretch;
}

.team-member {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    text-align: center;
    padding: 1.3rem 1rem 1rem 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.13);
}

.team-member img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.team-member h4 {
    margin: 0.4rem 0 0.2rem 0;
    color: #0000FF;
    font-size: 1.05rem;
}

.member-title {
    color: #181818;
    font-weight: 600;
    margin: 0.2rem 0;
    font-size: 0.98rem;
}

.member-specialty {
    color: #666;
    font-size: 0.9rem;
    margin: 0.2rem 0 0.7rem 0;
}

.member-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}

.credential {
    background: #0000FF;
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0000FF 0%, #1e3a8a 100%);
    color: white;
    padding: 2.5rem 0 2rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
}

.cta-content p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    opacity: 0.93;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Fixed Devis Button */
.fixed-devis-button {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 1000;
}

.floating-devis-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, #0000FF, #1e3a8a);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
    transition: all 0.3s;
    animation: pulse 2s infinite;
    font-size: 1rem;
}

.floating-devis-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.32);
}

.floating-devis-btn i {
    font-size: 1.1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Harmonisation boutons fixes contact avec la page d’accueil */
.fixed-contact-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}
.fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.fixed-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.fixed-btn:active {
    transform: translateY(-1px) scale(1.02);
}
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse-whatsapp 2s infinite;
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
}
.phone-btn {
    background: linear-gradient(135deg, #0000FF, #1e3a8a);
    animation: pulse-phone 2s infinite 0.5s;
}
@keyframes pulse-phone {
    0% { box-shadow: 0 8px 24px rgba(0, 0, 255, 0.3); }
    50% { box-shadow: 0 8px 24px rgba(0, 0, 255, 0.6); }
    100% { box-shadow: 0 8px 24px rgba(0, 0, 255, 0.3); }
}
.btn-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
.fixed-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}
@media (max-width: 768px) {
    .fixed-contact-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.8rem;
    }
    .fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .btn-tooltip {
        display: none;
    }
}
@media (max-width: 480px) {
    .fixed-contact-buttons {
        bottom: 0.8rem;
        right: 0.8rem;
        gap: 0.6rem;
    }
    .fixed-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.5s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .main-content, .container {
        max-width: 98vw;
    }
    .expertise-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .expertise-image img {
        max-width: 220px;
    }
}

@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0 1.5rem 0;
    }
    .hero-content, .hero-image {
        padding: 0 1rem;
    }
    .services-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .expertise-stats {
        flex-direction: column;
        gap: 0.7rem;
    }
    .process-timeline {
        max-width: 98vw;
        padding-left: 10px;
    }
    .step-number {
        left: -36px;
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 700px) {

  .service-card.reveal.visible {

    margin: auto;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 4vw;
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 1.7rem;
    color: var(--primary-blue);
    cursor: pointer;
    position: absolute;
    right: 2vw;
    top: 1.1rem;
  }

  .nav-links {
    display: none; /* caché par défaut */
    flex-direction: column;
    width: 100%;
    background: #fff;
    gap: 0.7rem;
    padding-top: 1rem;
  }

  .nav-links.open {
    display: flex; /* affiché si on ajoute la classe .open */
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .nav-links a {
    width: 100%;
    padding: 1.2rem 2vw;
    box-sizing: border-box;
  }

  .nav-links .btn-devis {
    margin-top: 0.5rem;
    margin-left: 0;
    width: 95%;
    display: block;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
  }
}


@media (max-width: 600px) {
    .main-content, .container {
        padding: 0 0.5rem;
    }
    .hero-section {
        padding: 1.2rem 0 1rem 0;
    }
    .services-section, .expertise-section, .process-section, .team-section, .cta-section {
        padding: 1.2rem 0 1rem 0;
    }
    .service-card, .team-member {
        padding: 1rem 0.5rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
